package week09;
import java.util.*;
public class pta02 {
	//package test;
	
	
		public static void main(String[] args) {
			Scanner sc=new Scanner(System.in);
			int n= Integer.parseInt(sc.nextLine());
			int [] arr=new int [n];
			for(int i=0;i<arr.length;){
				String line =sc.nextLine();
				try{
					int value =Integer.parseInt(line);
					arr[i]=Integer.parseInt(line);
					i++;
					//System.out.println(arr[i]);
				}catch(NumberFormatException e){
					System.out.println(e);
				}
				
			}
			System.out.println(Arrays.toString(arr));
			sc.close();
			
		}

	

}
